import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import user from './modules/user'
import app from './modules/app.js'
import settings from './modules/settings.js'
import shopsList from './modules/shopsList'
import order from './modules/order.js'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    settings,
    user,
    shopsList,
    order
  },
  getters
})

export default store
